setLaunchDisplayId

Sets the id of the display where the activity should be launched. An app can launch activities on public displays or displays where the app already has activities. Otherwise, trying to launch on a private display or providing an invalid display id will result in an exception.

Setting launch display id will be ignored on devices that don't have FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS.

On API 25 and below, calling this method has no effect.

Return

thisActivityOptions instance.

Parameters

launchDisplayId

The id of the display where the activity should be launched.